package com.share.netty.im.response;

import com.share.netty.im.command.Command;
import com.share.netty.im.command.Packet;
import lombok.Data;

/**
 * @author caifan
 * @createTime 2020/5/10
 * @desc: 登录响应
 */
@Data
public class LoginResponsePacket extends Packet {

    private String userId;

    private String username;

    private boolean success;

    private String reason;

    @Override
    public Byte getCommand() {
        return Command.LOGIN_RESPONSE;
    }
}
